package com.kzc.base.model;

/**
 * 结果集实体类
 * Author：柯尊诚
 * Created by anyleKe on 2016/1/30.
 */
public class Result {

    private int status;//返回状态码

    private Object result;//返回数据

    private Paging paging;//分页信息

    private String message;//返回消息

    public Result() {
    }

    public Result(int status, String message) {
        this.status = status;
        this.message = message;
    }

    public Result(int status, Object result, String message) {
        this.status = status;
        this.result = result;
        this.message = message;
    }

    public Result(int status, Object result, Paging paging, String message) {
        this.status = status;
        this.result = result;
        this.paging = paging;
        this.message = message;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }

    public Paging getPaging() {
        return paging;
    }

    public void setPaging(Paging paging) {
        this.paging = paging;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
